class Shape:
    def __init__(self,w,c):
        self.width = w
        self.color = c
    def draw(self):
        print("draw",self.width,self.color)
class rec(Shape):
    def __init__(self,width,c,l,w):
        super().__init__(width,c)
        self.l = l
        self.w = w
class circle(Shape):
    def __init__(self,width,c,r):
        Shape.__init__(width,c)
        self.r = r

class people():
    def __init__(self,name):
        self.name = name
    def say(self):
        print("name：",self.name)
class Animal:
    def __init__(self,name):
        self.name = name
    def display(self):
        print("动物")
class person(people):
    def output(self):
        super().say()

if __name__ == '__main__':
    form = rec(2,"y",1,1)
    form.draw()

    # zhangsan = person("zhangsan")
    # zhangsan.output()
    # zhangsan.say()
    # zhangsan.display()
